<script setup lang="ts">
import { ElButton, ElSpace } from "element-plus";
const handleQuery = () => {
  console.log("查询");
};
const handleAdd = () => {
  console.log("添加");
};
const handleEdit = () => {
  console.log("修改");
};
const handleDel = () => {
  console.log("删除");
};
</script>

<template>
  <h1>Department部门管理</h1>
  <h2>权限测试</h2>
  <ElSpace>
    <div>
      <el-button type="primary" @click="handleQuery">查询</el-button>
    </div>
    <div>
      <el-button type="primary" @click="handleAdd">添加</el-button>
    </div>
    <div>
      <el-button type="primary" @click="handleEdit">修改</el-button>
    </div>
    <div>
      <el-button type="primary" @click="handleDel">删除</el-button>
    </div>
  </ElSpace>
</template>
<style scoped lang="less"></style>
